<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>京东顶部导航条</title>
	<link rel="stylesheet" href="./css/reset.css">
	<style>

		.clearfix::before,
		.clearfix::after{
			content:"";
			display:table;
			clear:both;
		}
		body{
			font-size:14px;
		}

		.top-bar-wrapper{
			width:100%;
			line-height:30px;
			height:30px;
			background-color:#E3E4E5;
			border-bottom:1px #ddd solid;
		}
		.top-tar{
			width:1190px;
			margin:0 auto;
			position:relative;
		}

		.top-tar a,
		.top-tar span,
		.top-tar i{
			color:#999;
			text-decoration:none;
		}

		.top-tar a:hover,
		.top-tar .heightlight
		{
			color:#f10125;
		}

		.location{
			float:left;
		}
		.location .city-list{
			display:none;
			width:320px;
			height:426px;
			background-color:white;
			border:1px solid rgb(204,202,202);
			position:absolute;
			box-shadow:0 2px 2px rgb(0,0,2);
		}
		.location:hover .city-list{
			display:block;
		}

		.current-city{
			padding:0 10px;
			
			position:relative;

			border-bottom:none;

			z-index:9999;
		}
		.location:hover .current-city{
            background-color:white;
			border:1px solid rgb(204,202,202)
			border-bottom:none;
			padding-bottom:1px;		}

		.shotcut{
			float:right;
		}

		.shotcut li{
			float:left;
		}

		.shotcut .line{
			width:1px;
			height:10px;
			background-color:#999;
			margin:12px 12px 0;
		}

	</style>
</head>
<body>
	<!-- 创建外围容器 -->
	<div class="top-bar-wrapper">
		<!-- 创建内部容器 -->
		<div class="top-tar clearfix">
			<!-- 左侧菜单 -->
			<div class="location">
				<div class="current-city">
					<a href="javascript:;">北京</a>
				</div>
				<div class="city-list">

				</div>
			</div>

			<!--  右侧菜单 -->
			<ul class="shotcut clearfix">
				<li>
					<a href="javascript:;">你好，请登录</a>
					<a href="javascript:;" class="heightlight">免费注册</a>
				</li>
				<!-- 分割线 -->
				<li class="line"></li>
				<li><a href="javascript:;">我的订单</a></li>

                <li class="line"></li>
				<li><a href="javascript:;">我的京东</a></li>

				<li class="line"></li>
				<li><a href="javascript:;">京东会员</a></li>

				<li class="line"></li>
				<li><a href="javascript:;" class="heightlight">企业采购</a></li>

				<li class="line"></li>
				<li><a href="javascript:;">客户服务</a></li>

				<li class="line"></li>
				<li><a href="javascript:;">网站导航</a></li>

				<li class="line"></li>
				<li><a href="javascript:;">手机京东</a></li>
			</ul>
		</div>
		
	</div>

</body>
</html>